package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author daigaole
 * @description 结束合约请求对象
 * @date 2020-03-21
 */
@Data
@ApiModel(value = "结束合约请求对象", description = "结束合约请求对象")
public class OverContractReq extends BaseReqObj {

    private static final long serialVersionUID = -4236736324603087808L;

    @ApiModelProperty(value = "业态公司 id \n（仅综合管理平台使用）", notes = "业态公司 id \n（仅综合管理平台使用）", dataType = "Integer")
    private Integer formatId;

    /**
     * 合约id
     */
    @ApiModelProperty(value = "合约id", notes = "合约id", required = true, dataType = "Integer")
    @NotNull(message = "合约id不能为空")
    private Integer contractId;

}
